Anonymous inner classes are handy when you want to define callbacks on the fly 匿名内部类可以方便的定义运行时回调。
Anonymous inner classes 匿名内部类
When they enclose a lexical unit of java code within an anonymous inner class for execution 例如,许多java开发人员在匿名内部类中封闭java代码的一个词汇单元( lexical unit )时第一次遇到了
Normally , such listeners are specified as instances of anonymous inner classes using the command pattern 通常,这样的侦听器通过使用命令模式( command pattern )被指定为匿名内部类的实例。
In the above base aspect , i ve stored transient state about the currently monitored request in an anonymous inner class 在上面的基方面中,我把当前被监视请求的中间状态保存在匿名内部类中。